function [PQ, status] = PQ_Update_Task(PQ, number, Task)
%PQ_Update_Task Summary of this function goes here
%   Detailed explanation goes here
status = 0;
if (number < 1) || (number > size(PQ.queue, 2))
  return;
end
PQ.queue(number).task = Task;
end